{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "032705bb-a3c9-4442-8e97-b85e81e05a9c",
   "metadata": {},
   "outputs": [],
   "source": [
    "import gensim\n",
    "import pyLDAvis.gensim"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "4b12d605-160a-4bd6-add5-6446cc8ced9c",
   "metadata": {},
   "outputs": [],
   "source": [
    "model_path = \"../models/bbc_gensim/lda.model\"\n",
    "dict_path = \"../models/bbc_gensim/id2word.dict\"\n",
    "corpus_path = \"../models/bbc_gensim/corpus.mm\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "7a7f9798-6e6c-4ba4-8e08-b7262e47f712",
   "metadata": {},
   "outputs": [],
   "source": [
    "dictionary = gensim.corpora.Dictionary.load(dict_path)\n",
    "corpus = gensim.corpora.MmCorpus(corpus_path)\n",
    "lda = gensim.models.ldamodel.LdaModel.load(model_path)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "2edc80ff-869a-450f-a220-e5add5ba3867",
   "metadata": {},
   "outputs": [],
   "source": [
    "lda_prepared = pyLDAvis.gensim.prepare(lda, corpus, dictionary)\n",
    "pyLDAvis.save_html(lda_prepared, '../data/lda-gensim.html')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "7298797d-ea9d-438d-8caf-6841536ed4f7",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.jsdelivr.net/gh/bmabey/pyLDAvis@3.4.0/pyLDAvis/js/ldavis.v1.0.0.css\">\n",
       "\n",
       "\n",
       "<div id=\"ldavis_el57161405256205424002414184787\" style=\"background-color:white;\"></div>\n",
       "<script type=\"text/javascript\">\n",
       "\n",
       "var ldavis_el57161405256205424002414184787_data = {\"mdsDat\": {\"x\": [-0.14560710415017708, -0.0799069386841958, 0.10604862146169178, 0.2317113722138571, -0.11224595084117608], \"y\": [0.1561088918303646, 0.04493406674312455, 0.08014763252717937, -0.039949560308755926, -0.2412410307919127], \"topics\": [1, 2, 3, 4, 5], \"cluster\": [1, 1, 1, 1, 1], \"Freq\": [25.32519502306647, 21.68654215696039, 19.625237643693684, 17.72696200219902, 15.636063174080423]}, \"tinfo\": {\"Term\": [\"mr\", \"bn\", \"film\", \"blair\", \"government\", \"party\", \"sales\", \"people\", \"us\", \"best\", \"mobile\", \"labour\", \"game\", \"technology\", \"election\", \"minister\", \"market\", \"music\", \"england\", \"year\", \"bank\", \"company\", \"digital\", \"would\", \"firm\", \"growth\", \"players\", \"software\", \"use\", \"phone\", \"election\", \"minister\", \"law\", \"secretary\", \"eu\", \"political\", \"policy\", \"chancellor\", \"tory\", \"lib\", \"council\", \"issue\", \"tories\", \"mps\", \"health\", \"immigration\", \"ministers\", \"asylum\", \"parliament\", \"rules\", \"accused\", \"taxes\", \"liberal\", \"proposals\", \"dems\", \"rates\", \"argued\", \"conservatives\", \"conservative\", \"laws\", \"labour\", \"government\", \"spending\", \"mr\", \"case\", \"brown\", \"tax\", \"police\", \"plans\", \"leader\", \"public\", \"would\", \"court\", \"general\", \"tony\", \"say\", \"told\", \"people\", \"could\", \"says\", \"howard\", \"also\", \"new\", \"uk\", \"britain\", \"spokesman\", \"one\", \"get\", \"home\", \"mobile\", \"technology\", \"digital\", \"software\", \"phone\", \"users\", \"computer\", \"online\", \"network\", \"phones\", \"search\", \"mail\", \"sites\", \"virus\", \"microsoft\", \"web\", \"site\", \"networks\", \"traffic\", \"pc\", \"content\", \"systems\", \"spyware\", \"websites\", \"broadband\", \"apple\", \"gaming\", \"google\", \"computers\", \"dvd\", \"video\", \"internet\", \"net\", \"data\", \"use\", \"information\", \"people\", \"attacks\", \"games\", \"service\", \"many\", \"music\", \"tv\", \"used\", \"like\", \"one\", \"new\", \"high\", \"also\", \"could\", \"get\", \"uk\", \"make\", \"would\", \"time\", \"mr\", \"cup\", \"match\", \"season\", \"coach\", \"injury\", \"rugby\", \"league\", \"roddick\", \"victory\", \"olympic\", \"arsenal\", \"champion\", \"football\", \"ball\", \"chelsea\", \"irish\", \"indoor\", \"liverpool\", \"grand\", \"andy\", \"squad\", \"spain\", \"nadal\", \"crowd\", \"champions\", \"madrid\", \"captain\", \"robinson\", \"dallaglio\", \"davies\", \"hewitt\", \"side\", \"goal\", \"club\", \"team\", \"england\", \"ireland\", \"sport\", \"game\", \"wales\", \"win\", \"players\", \"manager\", \"play\", \"final\", \"half\", \"back\", \"minutes\", \"first\", \"six\", \"got\", \"time\", \"world\", \"second\", \"france\", \"good\", \"last\", \"two\", \"year\", \"one\", \"old\", \"get\", \"would\", \"set\", \"three\", \"also\", \"think\", \"blair\", \"party\", \"awards\", \"award\", \"album\", \"band\", \"dance\", \"kennedy\", \"kilroy\", \"chart\", \"voters\", \"silk\", \"actor\", \"politics\", \"singer\", \"concert\", \"actress\", \"oscar\", \"ukip\", \"cook\", \"nominations\", \"rock\", \"comedy\", \"cabinet\", \"baby\", \"ray\", \"academy\", \"ceremony\", \"festival\", \"starring\", \"category\", \"song\", \"film\", \"prime\", \"prize\", \"best\", \"show\", \"star\", \"stars\", \"iraq\", \"british\", \"night\", \"director\", \"music\", \"top\", \"number\", \"london\", \"also\", \"one\", \"year\", \"new\", \"tv\", \"us\", \"uk\", \"first\", \"last\", \"two\", \"years\", \"three\", \"bbc\", \"bn\", \"bank\", \"oil\", \"china\", \"rose\", \"shares\", \"profits\", \"investment\", \"stock\", \"yukos\", \"india\", \"euros\", \"exchange\", \"banks\", \"turkey\", \"debt\", \"deutsche\", \"investors\", \"agreement\", \"exports\", \"airlines\", \"bankruptcy\", \"trillion\", \"argonaut\", \"indian\", \"fuel\", \"trading\", \"shareholders\", \"economist\", \"earnings\", \"prices\", \"retail\", \"sales\", \"deficit\", \"growth\", \"aid\", \"car\", \"financial\", \"company\", \"analysts\", \"market\", \"economy\", \"rise\", \"dollar\", \"firm\", \"price\", \"us\", \"economic\", \"deal\", \"year\", \"december\", \"figures\", \"expected\", \"however\", \"business\", \"last\", \"also\", \"chief\", \"new\", \"world\"], \"Freq\": [2858.0, 998.0, 853.0, 731.0, 1005.0, 661.0, 750.0, 2003.0, 2012.0, 853.0, 597.0, 738.0, 820.0, 524.0, 572.0, 562.0, 586.0, 777.0, 587.0, 2166.0, 370.0, 571.0, 434.0, 2643.0, 540.0, 419.0, 587.0, 404.0, 576.0, 380.0, 571.4999227007286, 561.5641931733162, 342.3652372511967, 300.8600059264606, 252.10956845153342, 255.05199156987194, 237.55130560084038, 231.46223230335588, 229.33566210031816, 229.03025019768447, 229.36425445167276, 213.97786873962517, 209.78091399248623, 182.01032538958538, 171.1969570143928, 159.39992451215974, 158.94728732792012, 153.8914926411751, 153.3372344128986, 153.43535176821143, 151.67759756977782, 150.0202824481007, 149.2047953798152, 146.4781516453462, 139.5819494767734, 137.52939293915165, 128.13831112034293, 126.69607183058268, 118.44568693463995, 118.90585212477262, 710.0654366005083, 960.918798969594, 383.1443748187476, 2408.300659514421, 284.3827910539489, 415.05599985959293, 381.267270067071, 236.3691131838087, 399.9125787788642, 256.1892410881701, 416.3095043025425, 1627.1873385411259, 254.6511358093454, 288.83137819246303, 242.9856253091357, 383.8122989004899, 541.1036641395991, 792.260116689875, 632.3127021192229, 349.9293494304727, 259.9186574207128, 455.63431555778715, 439.1609561499759, 375.46003968180736, 274.94326264768256, 252.62096629485612, 354.75115680881436, 266.7099318510714, 258.388291213367, 596.2201887367097, 523.6605833376441, 433.82582241198094, 403.77825769277865, 379.73823464347936, 370.70919754228004, 341.3961854011711, 290.4582981660117, 282.72133714588097, 265.14518881391666, 249.6842559747836, 248.67782182502106, 212.08830258949348, 209.95255500137228, 197.83896821145126, 190.38676951995282, 186.6010921547426, 184.3968921996362, 197.42628996521393, 168.0553204424471, 169.41995771942922, 170.4446225383079, 163.45064864245776, 159.9217309125382, 156.54906917541277, 145.84696754186805, 144.46813612858801, 141.38010417722617, 136.27760136256367, 137.45532909603696, 284.4786145972299, 277.2268568711949, 451.92958775601096, 349.1953451747567, 453.29511668501857, 349.70703294388034, 1067.9951551308948, 282.71032403843077, 404.4177408859903, 319.133489924443, 446.1261380051353, 416.9645380174387, 348.9111250669508, 323.4062623319652, 402.0814920856472, 551.6008128400243, 537.6953308113317, 311.8626701240249, 454.15336790762336, 398.52037848799586, 327.30181773529154, 326.73484754058654, 313.40460156186236, 354.898640714335, 325.43867467994124, 342.5664907339997, 327.20678914065917, 304.9919009285175, 246.56198552579968, 204.6380278700848, 199.15627262327965, 185.2209910029447, 177.02301221590162, 168.5763008808406, 166.53557304956604, 162.1562620417161, 155.91880080918546, 156.46102707788427, 158.34355878419083, 156.6315447924038, 150.89555044649794, 146.9673840812193, 132.93986500423256, 128.73162781804118, 125.48617565047208, 134.6712446093325, 118.28114251629869, 116.34790692378444, 108.0092330305612, 108.8093076427338, 102.28851527488693, 102.56519493265765, 100.78114871027103, 100.01871491856917, 97.05881831487251, 98.07194738567132, 105.19849308480752, 325.505319376391, 200.50741669806814, 316.5109515499792, 382.46763532696593, 488.53126755921517, 239.23899225377798, 172.0504766434833, 615.0647892256301, 305.4271038331027, 441.2773391934717, 434.9110682818504, 228.1164133102757, 396.6209327539324, 227.6790295933805, 324.0060109132606, 429.31645599800237, 192.60620285017094, 546.0435189500048, 302.1827311676271, 299.5461945091968, 514.120744739863, 450.0954101527424, 296.7774133922877, 218.221871586662, 316.46384600408305, 436.8849651198848, 412.93122802048146, 492.309132340088, 430.72700540011544, 252.3369946039316, 312.2977966320288, 386.88962483172276, 280.589439888207, 283.1188986622158, 277.5264889988009, 253.34496605361724, 730.5977892194094, 660.8210752899773, 310.1346407515122, 254.84321205297252, 249.1980162316901, 228.81950878316894, 206.27168143172912, 190.6346917064527, 187.76291597844363, 178.35321881116923, 170.38550625713845, 167.2529984679713, 159.57378329998542, 164.81354037219293, 143.99155597498248, 135.21833381995103, 130.07689298506898, 126.18784657586514, 123.25248342768244, 123.24375690130793, 115.49561596405701, 114.36652558316717, 109.70586119514628, 103.28249757558967, 103.65457656751957, 100.38534991536758, 95.18971794266099, 92.7441433989384, 89.52360209652593, 88.58181685340593, 92.81778700808312, 185.19432302115712, 800.099785007038, 323.2018358984889, 120.80760818799212, 657.2273223200897, 407.78021596197595, 218.87162329291937, 172.33867226861804, 174.47336184791055, 334.3655845657451, 158.38309506814053, 260.1482506339952, 359.60325040457326, 282.83383103043946, 306.82856767140646, 256.8855344038901, 508.344824094066, 468.75566662961785, 454.2441033260763, 380.1151180868539, 253.58432690395256, 378.5367790366704, 303.9490897496899, 304.8124839957278, 283.12807058903104, 270.013756139373, 236.08614442146876, 224.16878239188833, 210.7619224722803, 997.9332181006432, 369.4321535428236, 300.3481345862311, 253.04934641007696, 239.72255562825495, 223.9674014722076, 175.57892519491912, 170.8507057126088, 159.82081724827634, 154.31912163569257, 155.06354636669795, 148.65972835579007, 138.24785976021704, 120.20953841294892, 105.54617476193035, 102.44829999877159, 98.64064673076807, 92.51301682815297, 94.19177765021152, 90.2654775640848, 89.51882880251345, 88.08885533716531, 90.11044699592134, 97.74556999177601, 87.30503225218845, 84.1609306662111, 83.5216261299257, 82.75847089149752, 82.2043832138905, 80.02770886125461, 283.57473931098133, 141.3626927564414, 654.8010947624286, 143.4529600465413, 371.90458052263733, 177.493190003628, 232.49704519941284, 212.46822518321534, 424.63426021327865, 205.14504853709704, 424.72367319212645, 278.1538038083246, 278.18179531802605, 215.62096226287466, 367.73295943994015, 164.65867448739377, 970.6458225761736, 270.98351188837836, 267.02364284089646, 801.1769869803043, 230.85498088169288, 250.45265172238933, 272.95739114139866, 251.1518834572845, 215.67967319476867, 328.2909241181119, 353.55479933231913, 221.426081670565, 317.15933838110243, 258.48591962765073], \"Total\": [2858.0, 998.0, 853.0, 731.0, 1005.0, 661.0, 750.0, 2003.0, 2012.0, 853.0, 597.0, 738.0, 820.0, 524.0, 572.0, 562.0, 586.0, 777.0, 587.0, 2166.0, 370.0, 571.0, 434.0, 2643.0, 540.0, 419.0, 587.0, 404.0, 576.0, 380.0, 572.2847154669473, 562.5393430204361, 343.1538284884996, 301.64502900904887, 252.89612133708175, 255.8487229662077, 238.34368310372525, 232.24584387831896, 230.1186344395886, 229.8148028389578, 230.16318703314136, 214.7681684847145, 210.56338363472648, 182.79436970707494, 171.9896344315661, 160.1839640550034, 159.73373276943695, 154.67520898922982, 154.12141316502894, 154.2328252511168, 152.4717385784857, 150.80686208277643, 149.9876867221076, 147.271260932603, 140.3668739485508, 138.34066063803425, 128.92492940085646, 127.48073484145714, 119.23132499683616, 119.6996057842783, 738.1002628233217, 1005.6828077706044, 394.9912225150483, 2858.572492372742, 300.30746476981614, 451.3397041947624, 418.55066154688706, 249.03916898334452, 472.59997303747525, 281.7893009430949, 501.8915183089913, 2643.990877261489, 283.59633194369525, 334.29869467067306, 277.23271734105634, 517.3100645992913, 839.1145686046608, 2003.5070297610637, 1382.5852983897332, 586.4579678749827, 338.50227641511435, 2049.213795890597, 1911.280452065685, 1165.324776827993, 437.44437463800665, 318.72668204480755, 1952.1274802549995, 1027.4281952457184, 590.8095983923565, 597.025031874005, 524.4702216252593, 434.6293866911557, 404.58516441076506, 380.5534487094202, 371.51113421857184, 342.2021606885562, 291.267442552391, 283.54735570387413, 265.9480423862695, 250.50210024387565, 249.4979255668439, 212.89236358920186, 210.7645319717014, 198.64068925912125, 191.19043989574237, 187.40943438856897, 185.20524538667942, 198.29354505339458, 168.85851600691592, 170.23525455971267, 171.26793887142415, 164.25405007718632, 160.72806738226976, 157.35070724519585, 146.64956874493336, 145.27379462290108, 142.18788603824243, 137.08057886502453, 138.26727697579054, 293.27696858693395, 288.0525300863224, 505.1746914686429, 400.4652411640594, 576.7780318602931, 432.9096885760415, 2003.5070297610637, 340.6695619848059, 605.4701999617407, 429.1032305992934, 833.7497910044771, 777.1753962527497, 603.1091888696451, 532.6769796014139, 887.9440278297999, 1952.1274802549995, 1911.280452065685, 565.7986866045815, 2049.213795890597, 1382.5852983897332, 1027.4281952457184, 1165.324776827993, 853.5776146195511, 2643.990877261489, 1312.8980112470704, 2858.572492372742, 327.97895274403913, 305.78013904626766, 247.34825019676683, 205.4106217242169, 199.92805207840496, 185.99250526033387, 177.8008260298937, 169.34787509476652, 167.3207544923904, 162.93637639992687, 156.6898167895083, 157.23612317471364, 159.12822837841702, 157.41153432569453, 151.6678688297874, 147.7600640335561, 133.72690517795178, 129.50845044520753, 126.2651117486064, 135.51411785070798, 119.05526138464987, 117.15471404259141, 108.78277000766417, 109.61733994736856, 103.06165496869977, 103.34484890120653, 101.55529006187827, 100.79325605030394, 97.83712833159242, 98.87078919318184, 106.06034774581674, 339.44896526619914, 209.55446824093556, 347.2217576163554, 439.7374408333549, 587.695230579001, 265.89109911499384, 185.6494030704951, 820.9092327101155, 369.2942489313497, 589.2156899344433, 587.1567282596532, 266.5346375482223, 571.7252642138981, 279.29363786820284, 485.45354827121923, 803.3333006218113, 223.93539375224694, 1338.6826038804877, 496.71750708671374, 494.80380947888165, 1312.8980112470704, 1126.1411772132246, 549.0284284083813, 292.2033641295041, 651.9495335634151, 1389.4829198922139, 1257.4675082127274, 2166.681972272649, 1952.1274802549995, 429.138570154084, 1027.4281952457184, 2643.990877261489, 758.5074511118636, 823.0960352483198, 2049.213795890597, 597.4340519158771, 731.4029176182621, 661.6283170403791, 310.9191932124626, 255.63008423794093, 249.99603721863815, 229.61601542165457, 207.06828964953837, 191.4375188515649, 188.55680142778348, 179.13869872547437, 171.18653840095536, 168.05214995301876, 160.35608734592404, 165.6276401237412, 144.77652203586672, 136.0120027403756, 130.85862515854967, 126.96974072476846, 124.03992273121668, 124.0548208960326, 116.27924448139626, 115.15585550272772, 110.49262856205915, 104.09480934154288, 104.48651586525594, 101.20495031290208, 95.98636286105932, 93.5362785121077, 90.30562799304066, 89.3637140738652, 93.66297682081951, 189.30738066199658, 853.199890519761, 352.13379683947386, 124.15721478513986, 853.1941522239784, 555.173848323441, 260.6433933817803, 200.6852689709921, 213.33241195807057, 565.8934901914545, 185.7776381574369, 428.2010510568572, 777.1753962527497, 576.2574842164637, 700.9383612832021, 495.81165320769367, 2049.213795890597, 1952.1274802549995, 2166.681972272649, 1911.280452065685, 603.1091888696451, 2012.2651319826664, 1165.324776827993, 1338.6826038804877, 1389.4829198922139, 1257.4675082127274, 873.7110572471713, 823.0960352483198, 669.9691303470621, 998.7218840318653, 370.2224103054783, 301.1316092140364, 253.83849512226857, 240.5246162169951, 224.748525894818, 176.36744258394228, 171.64091587999243, 160.60507911653232, 155.0999417023366, 155.8496480376545, 149.45271375080054, 139.0415714568018, 121.0310145262698, 106.34399052610293, 103.23525340142588, 99.42254538793632, 93.29446843199003, 94.99331332645957, 91.04644474018446, 90.30370160886392, 88.87148195626322, 90.91168712361006, 98.6351672724117, 88.1220252508195, 84.9489889345361, 84.30577142420822, 83.53965460130463, 82.98819180953117, 80.81513177569133, 292.59524172482423, 145.98470090255407, 750.7678344796728, 150.46634024032065, 419.33038523573214, 194.1226093562989, 270.47136583758834, 244.2833459433016, 571.4175763093392, 242.93481931153846, 586.1353760705249, 352.276449197268, 361.96048249991077, 268.0167221225214, 540.8356872798847, 190.62254726003604, 2012.2651319826664, 376.1619464788456, 388.9686566384078, 2166.681972272649, 313.19668430878016, 390.01723480627544, 521.2421156557377, 453.97806887860594, 337.0275792299893, 1389.4829198922139, 2049.213795890597, 428.33174213315493, 1911.280452065685, 1126.1411772132246], \"Category\": [\"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Default\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic1\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic2\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic3\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic4\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\", \"Topic5\"], \"logprob\": [30.0, 29.0, 28.0, 27.0, 26.0, 25.0, 24.0, 23.0, 22.0, 21.0, 20.0, 19.0, 18.0, 17.0, 16.0, 15.0, 14.0, 13.0, 12.0, 11.0, 10.0, 9.0, 8.0, 7.0, 6.0, 5.0, 4.0, 3.0, 2.0, 1.0, -5.3542, -5.3717, -5.8666, -5.9958, -6.1726, -6.161, -6.2321, -6.258, -6.2673, -6.2686, -6.2672, -6.3366, -6.3564, -6.4984, -6.5597, -6.631, -6.6339, -6.6662, -6.6698, -6.6692, -6.6807, -6.6917, -6.6971, -6.7156, -6.7638, -6.7786, -6.8494, -6.8607, -6.928, -6.9241, -5.1371, -4.8346, -5.7541, -3.9158, -6.0521, -5.6741, -5.759, -6.2371, -5.7112, -6.1565, -5.671, -4.3079, -6.1626, -6.0366, -6.2095, -5.7523, -5.4089, -5.0276, -5.2531, -5.8447, -6.1421, -5.5808, -5.6176, -5.7743, -6.0859, -6.1706, -5.831, -6.1163, -6.148, -5.1567, -5.2865, -5.4747, -5.5465, -5.6079, -5.6319, -5.7143, -5.8759, -5.9029, -5.9671, -6.0272, -6.0312, -6.1904, -6.2005, -6.2599, -6.2983, -6.3184, -6.3303, -6.262, -6.4231, -6.415, -6.4089, -6.4508, -6.4727, -6.494, -6.5648, -6.5743, -6.5959, -6.6327, -6.6241, -5.8967, -5.9225, -5.4338, -5.6917, -5.4308, -5.6903, -4.5738, -5.9029, -5.5449, -5.7817, -5.4468, -5.5144, -5.6925, -5.7684, -5.5507, -5.2345, -5.2601, -5.8048, -5.4289, -5.5596, -5.7565, -5.7582, -5.7999, -5.6755, -5.7622, -5.7109, -5.6569, -5.7272, -5.9399, -6.1262, -6.1534, -6.2259, -6.2712, -6.3201, -6.3323, -6.3589, -6.3981, -6.3947, -6.3827, -6.3936, -6.4309, -6.4573, -6.5576, -6.5898, -6.6153, -6.5446, -6.6744, -6.6909, -6.7653, -6.7579, -6.8197, -6.817, -6.8345, -6.8421, -6.8722, -6.8618, -6.7916, -5.6621, -6.1466, -5.6901, -5.5008, -5.2561, -5.97, -6.2997, -5.0258, -5.7258, -5.3578, -5.3723, -6.0176, -5.4645, -6.0195, -5.6667, -5.3853, -6.1868, -5.1448, -5.7364, -5.7452, -5.205, -5.338, -5.7545, -6.062, -5.6903, -5.3678, -5.4242, -5.2484, -5.382, -5.9167, -5.7035, -5.4893, -5.8106, -5.8016, -5.8216, -5.9127, -4.7519, -4.8523, -5.6087, -5.8051, -5.8275, -5.9128, -6.0166, -6.0954, -6.1106, -6.162, -6.2077, -6.2262, -6.2732, -6.2409, -6.376, -6.4389, -6.4776, -6.508, -6.5315, -6.5316, -6.5965, -6.6063, -6.6479, -6.7083, -6.7047, -6.7367, -6.7899, -6.8159, -6.8512, -6.8618, -6.8151, -6.1243, -4.661, -5.5675, -6.5516, -4.8577, -5.335, -5.9573, -6.1963, -6.184, -5.5335, -6.2807, -5.7845, -5.4608, -5.7009, -5.6195, -5.7971, -5.1146, -5.1957, -5.2271, -5.4053, -5.8101, -5.4094, -5.6289, -5.6261, -5.6999, -5.7473, -5.8816, -5.9334, -5.995, -4.3146, -5.3083, -5.5153, -5.6867, -5.7408, -5.8087, -6.0522, -6.0795, -6.1462, -6.1812, -6.1764, -6.2186, -6.2912, -6.431, -6.5611, -6.5909, -6.6288, -6.6929, -6.6749, -6.7175, -6.7258, -6.7419, -6.7192, -6.6379, -6.7508, -6.7875, -6.7951, -6.8043, -6.811, -6.8379, -5.5728, -6.2689, -4.7359, -6.2542, -5.3016, -6.0413, -5.7714, -5.8615, -5.169, -5.8965, -5.1688, -5.5921, -5.592, -5.8467, -5.3129, -6.1164, -4.3423, -5.6182, -5.6329, -4.5342, -5.7785, -5.697, -5.6109, -5.6942, -5.8465, -5.4263, -5.3522, -5.8202, -5.4608, -5.6654], \"loglift\": [30.0, 29.0, 28.0, 27.0, 26.0, 25.0, 24.0, 23.0, 22.0, 21.0, 20.0, 19.0, 18.0, 17.0, 16.0, 15.0, 14.0, 13.0, 12.0, 11.0, 10.0, 9.0, 8.0, 7.0, 6.0, 5.0, 4.0, 3.0, 2.0, 1.0, 1.372, 1.3716, 1.3711, 1.3708, 1.3703, 1.3703, 1.37, 1.37, 1.37, 1.37, 1.3699, 1.3697, 1.3696, 1.3691, 1.3688, 1.3685, 1.3684, 1.3683, 1.3683, 1.3682, 1.3681, 1.3681, 1.3681, 1.368, 1.3678, 1.3675, 1.3673, 1.3672, 1.3668, 1.3667, 1.3346, 1.3278, 1.3429, 1.202, 1.3189, 1.2896, 1.2801, 1.3212, 1.2064, 1.2781, 1.1864, 0.8879, 1.2657, 1.2272, 1.2415, 1.0749, 0.9346, 0.4456, 0.591, 0.857, 1.1092, -0.1302, -0.0973, 0.2408, 0.909, 1.1409, -0.3319, 0.0247, 0.5463, 1.5271, 1.5269, 1.5266, 1.5265, 1.5263, 1.5263, 1.5261, 1.5257, 1.5256, 1.5255, 1.5252, 1.5252, 1.5247, 1.5246, 1.5244, 1.5243, 1.5242, 1.5241, 1.5241, 1.5237, 1.5237, 1.5237, 1.5236, 1.5234, 1.5234, 1.523, 1.5229, 1.5228, 1.5226, 1.5226, 1.498, 1.4902, 1.4171, 1.3915, 1.2876, 1.315, 0.8994, 1.342, 1.1249, 1.2324, 0.9031, 0.9058, 0.9812, 1.0295, 0.7362, 0.2646, 0.2602, 0.9328, 0.0217, 0.2845, 0.3845, 0.2569, 0.5265, -0.4797, 0.1337, -0.5931, 1.626, 1.6258, 1.6252, 1.6246, 1.6245, 1.6242, 1.624, 1.6238, 1.6237, 1.6236, 1.6234, 1.6234, 1.6234, 1.6234, 1.6232, 1.623, 1.6225, 1.6223, 1.6222, 1.6221, 1.6218, 1.6214, 1.6212, 1.621, 1.6208, 1.6208, 1.6207, 1.6206, 1.6204, 1.6202, 1.6202, 1.5864, 1.5842, 1.5357, 1.4888, 1.4435, 1.5227, 1.5523, 1.3397, 1.4385, 1.3392, 1.3282, 1.4727, 1.2627, 1.424, 1.224, 1.0018, 1.4776, 0.7316, 1.1314, 1.1265, 0.6908, 0.7113, 1.0132, 1.3364, 0.9056, 0.4713, 0.5148, 0.1465, 0.1172, 1.0973, 0.4375, -0.2936, 0.6339, 0.5611, -0.3709, 0.7705, 1.729, 1.7289, 1.7276, 1.727, 1.7269, 1.7266, 1.7262, 1.7259, 1.7259, 1.7257, 1.7254, 1.7253, 1.7252, 1.7252, 1.7246, 1.7242, 1.7241, 1.7239, 1.7237, 1.7235, 1.7233, 1.7232, 1.7229, 1.7222, 1.7221, 1.722, 1.7217, 1.7216, 1.7214, 1.7213, 1.721, 1.7081, 1.6658, 1.6443, 1.7027, 1.4691, 1.4215, 1.5554, 1.5778, 1.529, 1.2039, 1.5705, 1.2317, 0.9594, 1.0184, 0.904, 1.0725, 0.336, 0.3035, 0.1678, 0.115, 0.8637, 0.0594, 0.3862, 0.2503, 0.1393, 0.1917, 0.4215, 0.4294, 0.5736, 1.8548, 1.8535, 1.853, 1.8525, 1.8523, 1.8521, 1.8511, 1.851, 1.8507, 1.8505, 1.8505, 1.8503, 1.8499, 1.8488, 1.8481, 1.8479, 1.8477, 1.8472, 1.8471, 1.847, 1.8469, 1.8467, 1.8467, 1.8465, 1.8463, 1.8463, 1.8462, 1.8462, 1.8461, 1.8458, 1.8243, 1.8234, 1.7188, 1.8079, 1.7356, 1.766, 1.7043, 1.7161, 1.5587, 1.6865, 1.5335, 1.6193, 1.5923, 1.6381, 1.4698, 1.7092, 1.1265, 1.5276, 1.4794, 0.8607, 1.5505, 1.4127, 1.2087, 1.2636, 1.4092, 0.4128, 0.0984, 1.1958, 0.0595, 0.3839]}, \"token.table\": {\"Topic\": [4, 1, 4, 4, 5, 2, 5, 5, 4, 1, 2, 3, 4, 5, 2, 5, 3, 2, 5, 1, 3, 1, 1, 2, 3, 4, 4, 4, 1, 2, 3, 4, 5, 3, 4, 5, 5, 5, 1, 2, 3, 4, 3, 4, 5, 4, 5, 1, 3, 4, 1, 2, 3, 4, 2, 1, 4, 1, 2, 5, 4, 3, 2, 4, 5, 1, 3, 4, 4, 3, 3, 1, 4, 3, 1, 2, 5, 5, 3, 5, 3, 4, 2, 4, 5, 2, 2, 4, 1, 1, 2, 4, 1, 2, 3, 5, 1, 1, 3, 3, 3, 3, 4, 1, 2, 3, 1, 2, 3, 4, 5, 5, 1, 2, 3, 5, 3, 5, 1, 5, 2, 1, 2, 3, 4, 5, 4, 5, 2, 5, 1, 5, 5, 1, 5, 1, 1, 3, 1, 5, 5, 1, 2, 3, 4, 5, 5, 4, 1, 2, 4, 5, 2, 4, 1, 3, 4, 5, 1, 2, 5, 2, 5, 1, 2, 3, 4, 5, 3, 2, 3, 5, 5, 2, 3, 2, 3, 2, 1, 2, 5, 1, 2, 3, 4, 2, 3, 1, 2, 3, 4, 5, 2, 1, 2, 3, 4, 1, 5, 3, 2, 5, 1, 2, 3, 5, 1, 3, 1, 2, 3, 4, 5, 1, 2, 3, 4, 1, 4, 1, 2, 3, 4, 5, 1, 5, 5, 3, 1, 2, 3, 1, 2, 5, 5, 4, 5, 1, 3, 3, 1, 4, 4, 1, 4, 1, 2, 3, 4, 5, 1, 1, 1, 4, 3, 1, 1, 1, 2, 3, 4, 3, 1, 2, 3, 4, 5, 3, 2, 1, 2, 3, 4, 5, 2, 3, 1, 2, 3, 4, 5, 2, 5, 3, 2, 1, 1, 1, 2, 3, 2, 1, 1, 2, 4, 5, 2, 4, 3, 2, 3, 5, 2, 2, 1, 2, 3, 4, 5, 3, 4, 4, 1, 2, 3, 4, 5, 5, 2, 3, 4, 3, 1, 2, 3, 4, 5, 2, 4, 1, 4, 2, 1, 2, 3, 4, 2, 2, 1, 2, 4, 5, 2, 3, 4, 2, 3, 1, 4, 1, 1, 4, 2, 5, 2, 5, 4, 5, 3, 4, 5, 1, 1, 4, 5, 1, 4, 2, 5, 1, 2, 5, 3, 4, 3, 5, 3, 1, 2, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 2, 3, 2, 3, 4, 5, 1, 1, 2, 3, 1, 2, 3, 4, 5, 5, 5, 2, 4, 5, 2, 3, 4, 4, 4, 2, 2, 1, 2, 3, 4, 5, 2, 2, 4, 3, 1, 2, 1, 2, 4, 5, 1, 3, 2, 3, 3, 4, 4, 3, 4, 5, 2, 1, 5, 1, 1, 2, 3, 2, 1, 2, 3, 4, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 4, 2, 3, 4, 5, 1, 1, 5, 2, 5, 5, 2, 4, 1, 2, 3, 4, 5, 1, 2, 4, 5, 4, 1, 2, 3, 4, 5, 1, 2, 1, 2, 3, 2, 3, 2, 3, 2, 4, 1, 3, 2, 2, 2, 3, 4, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 5], \"Freq\": [0.9897239271115306, 0.996906058900595, 0.9977793961438092, 0.9934385283544791, 0.9895433342445284, 0.08242213543829448, 0.9117948732861327, 0.9966368863794826, 0.9960157879712027, 0.22252436564424968, 0.22154838158440648, 0.13566178431820483, 0.24789995120017289, 0.17274917859224645, 0.15230422754900103, 0.8438477472309516, 0.9962061676018555, 0.9955706058293076, 0.993560438026556, 0.9928258296889918, 0.9955975646430489, 0.9956346657383419, 0.1555759771762757, 0.8307170102053966, 0.011741583183115146, 0.997535171809612, 0.9970436266640045, 0.9953437449681705, 0.21161826587845092, 0.09460581298095452, 0.5340249180109143, 0.04605809316178049, 0.11452282624010285, 0.9973856151808861, 0.997317193138626, 0.9966981731212066, 0.9901939076846709, 0.9914814022644913, 0.3477772175552323, 0.17762012398743623, 0.1597088509802998, 0.31493988370881554, 0.1945629837795959, 0.7700474719469549, 0.0351619850204089, 0.9994491167473406, 0.9992771921358616, 0.6286513576213378, 0.18288039494438918, 0.1874524048179989, 0.2862729520800668, 0.010602701928891362, 0.11132837025335932, 0.5902170740416192, 0.9977711746496992, 0.9194848052209449, 0.07976253732037113, 0.16912562506079928, 0.18989543866475708, 0.6408971054935552, 0.9894825750825794, 0.9945321404572827, 0.10352297335908503, 0.03697249048538751, 0.8577617792609903, 0.9456974378498526, 0.049948808337140105, 0.992921676810595, 0.9942666255207248, 0.9921384275460664, 0.9896988364001897, 0.9946356677152349, 0.9936434799762647, 0.9955965041577993, 0.34786121443617074, 0.13307442431450828, 0.5159552240966022, 0.9966967377352884, 0.9129612216013625, 0.08640011560896176, 0.9980009713189604, 0.9955415255436478, 0.20300390609126615, 0.054251043869217676, 0.7437643111102423, 0.9964869868555555, 0.9921171994313759, 0.9925594600477478, 0.9896728062288259, 0.9962289608539282, 0.9927438381496978, 0.991497139019558, 0.45711465378380384, 0.28858978933502805, 0.1540592108480225, 0.10053629252523534, 0.994946250753063, 0.8991653673807999, 0.09873188347710743, 0.9943682272561534, 0.9970151964452331, 0.9914436538983932, 0.9948408824386078, 0.12735187666164197, 0.8714863716649617, 0.9911926545718127, 0.14654137043486312, 0.02570901235699353, 0.11054875313507218, 0.030850814828392234, 0.6864306299317272, 0.9880345777171423, 0.08620780919053644, 0.07343628190304956, 0.10217221829989505, 0.7375557008523673, 0.03987602802339026, 0.9503786678908013, 0.9973863210155606, 0.9957500043245966, 0.9985519002846375, 0.09574941467053046, 0.1494625009491207, 0.03970097681461019, 0.6071914101058029, 0.10742617255718051, 0.19401774481902914, 0.8059198630944288, 0.9908345849899652, 0.9899136243698298, 0.2791350932301307, 0.7204343834796706, 0.9880923805184332, 0.2100622967235639, 0.7891529525560915, 0.9977551113419147, 0.16845465957323594, 0.8320639245587108, 0.9964565635394331, 0.9969708562699277, 0.9925089205631901, 0.29544811398492526, 0.09208772383945722, 0.04988085041303933, 0.038369884933107175, 0.523748929336913, 0.9885064733370902, 0.9966156262922593, 0.22050307608256559, 0.13076345209547494, 0.007691967770322055, 0.6409973141935046, 0.06094703079289205, 0.9376466275829547, 0.0823506048170477, 0.8163451260124729, 0.04296553294802489, 0.057287377264033185, 0.045029676327395275, 0.08187213877708233, 0.8678446710370726, 0.31802635078514946, 0.6804284714472965, 0.0672302753013401, 0.18450975554923338, 0.40786367016146324, 0.22783593296565255, 0.11279746189447061, 0.9929099419385603, 0.03422274082911658, 0.7460557500747415, 0.21560326722343448, 0.9888287200773229, 0.24972310193566902, 0.749169305807007, 0.6672500149892241, 0.3303217895986258, 0.9912317660166614, 0.8644963459540336, 0.04487005255816783, 0.08974010511633566, 0.25987217523862544, 0.31827041686528285, 0.3036708564586185, 0.11776978728042577, 0.03817623201812136, 0.9591778294552992, 0.18713104883007492, 0.14725066137448517, 0.48470009369101374, 0.1411152171505483, 0.039880387455589736, 0.9916456593361059, 0.1172181759495436, 0.04244106370586924, 0.6063009100838462, 0.23645735493270004, 0.9555696811903773, 0.04375136937812341, 0.9899805121851455, 0.1120834589021693, 0.8871286534384463, 0.04737837447456471, 0.1194759008489023, 0.6674171012938681, 0.16479434599848594, 0.9942459646778314, 0.9900024111899203, 0.10604478486874268, 0.5514328813174619, 0.08306841481384843, 0.017674130811457113, 0.24213559211696245, 0.4366889107794458, 0.22342223342204207, 0.2555814942933966, 0.08293704119454591, 0.7680893693050238, 0.23042681079150712, 0.1431787226210283, 0.12555672599074788, 0.09912373104532729, 0.07929898483626183, 0.5528901442750478, 0.9926087229643233, 0.9945482838854457, 0.9872673687693183, 0.9945642563328264, 0.1917259007831627, 0.8084827141458668, 0.9953580697217966, 0.03471589017809787, 0.9616301579333109, 0.9962659493122226, 0.9968436667581777, 0.8156285226559893, 0.17812576931567584, 0.09778439401145729, 0.8988642372591651, 0.9948560929603856, 0.9964232665849214, 0.9977145605825358, 0.9970470360996406, 0.9619289353510933, 0.036580396133069744, 0.14537782156809076, 0.10075690603729062, 0.31450548527354283, 0.20367288863252317, 0.23605903700165232, 0.9966375765248434, 0.9941553208993927, 0.9084801983014152, 0.08871876936537258, 0.9954959375174159, 0.9964545241259817, 0.9934148812899717, 0.13852224480930514, 0.45273123913285096, 0.25226815314865325, 0.15541520149336674, 0.9960739979247714, 0.08269269133701715, 0.05647305749845073, 0.060506847319768645, 0.5183419920393514, 0.2803483925815947, 0.9966631244336503, 0.998004289752259, 0.26008179712977575, 0.3666919031604496, 0.20267635542095136, 0.12769781931146648, 0.043346966188295956, 0.14257058800894093, 0.8554235280536456, 0.23268371649757721, 0.534932667824327, 0.05757122882414282, 0.0683658342286696, 0.10554725284426184, 0.274680571371328, 0.7250884648000895, 0.9974486928788086, 0.9967746323197385, 0.9990412350227093, 0.9954065258682958, 0.04465573678390293, 0.08931147356780586, 0.8618557199293265, 0.9982831006753812, 0.9956542988257904, 0.8423784971082727, 0.11998996034391095, 0.028685646496211945, 0.009095448889042812, 0.5365584165564411, 0.4632158991854167, 0.9928042831818953, 0.8947399931812626, 0.021774645851756393, 0.08313955688852441, 0.9980696145004936, 0.9934923798504569, 0.2296889499003325, 0.2814866857548494, 0.124000640378995, 0.19881959216885275, 0.16585739662506926, 0.14533503745547083, 0.8504791080727552, 0.988998513990165, 0.035666474230676586, 0.25394529652241726, 0.17405239424570174, 0.43798430355270845, 0.09843946887666737, 0.9962421440346633, 0.10719148358881726, 0.5872229100952598, 0.30526270326380567, 0.9942531163352465, 0.18185287774015027, 0.28276841834524774, 0.22078476142536552, 0.24025070326797315, 0.07479019760580828, 0.9956485265181568, 0.9923624265180587, 0.9927238328406179, 0.9990503474168251, 0.9949157671924539, 0.39530682360243735, 0.5330652621305595, 0.010980745100067704, 0.06039409805037237, 0.9985456741719274, 0.9964352345752839, 0.8463817664422119, 0.0571307692348493, 0.006347863248316589, 0.09098603989253777, 0.1784073686865078, 0.6943894643974863, 0.12768370504034382, 0.2588746627336311, 0.7408584097969048, 0.9476420956728434, 0.04818519130539882, 0.9985580356095459, 0.9966827156439636, 0.9962105351300526, 0.13114922845877447, 0.8655849078279115, 0.027341524601837936, 0.9706241233652467, 0.9172649796726129, 0.07951523043601598, 0.024162913167725668, 0.9745708310982687, 0.9979166076314374, 0.9913678953751555, 0.8288643757153277, 0.14146483335526025, 0.027894474182727374, 0.9975375234116773, 0.9880939587522481, 0.027400131488230617, 0.9658546349601291, 0.15195028921427509, 0.0801192434038905, 0.7680396436648814, 0.992129869781089, 0.9899626858080148, 0.9979457959270416, 0.9978188668368072, 0.9946637351922075, 0.9920067258762229, 0.1265371205811457, 0.8724401471647414, 0.7423014286363182, 0.09472075521661352, 0.09085460194246603, 0.040594609378548654, 0.03286230283025367, 0.5968032138231784, 0.308632519148558, 0.08184729789575018, 0.011936064276463567, 0.997995624613978, 0.9985920652501492, 0.12567655230536814, 0.5409555947057151, 0.15117614262819645, 0.18213993087734515, 0.9978616289114133, 0.20507885684546723, 0.7434108560648187, 0.05126971421136681, 0.21885084946320266, 0.2043486847397374, 0.37046438975397555, 0.08305785250711907, 0.12392758945506656, 0.9935401384662153, 0.9966694958650438, 0.2179497473906698, 0.7349049333503577, 0.04683217712526789, 0.02062165661489212, 0.9603800080649757, 0.01767570566990753, 0.9937391461322399, 0.9946364091017855, 0.9978152946787083, 0.9958083814085329, 0.1348855215371009, 0.08455510305310804, 0.607991455286634, 0.12884587131902175, 0.04227755152655402, 0.9985536681464401, 0.021129656889299506, 0.9772466311301021, 0.9901436826334482, 0.9696418000412871, 0.027848720105624433, 0.7937835589316382, 0.06902465729840332, 0.0847120794116768, 0.05333723518512984, 0.07002446431278649, 0.9264775278307136, 0.992365180179137, 0.9911363733750458, 0.15730304715586937, 0.8402284713935462, 0.9959299579517861, 0.13952194968554088, 0.8570634052111797, 0.9962325032317734, 0.992596752902036, 0.9102840707308725, 0.0884002903334443, 0.9946496991474197, 0.0932374553376672, 0.03638534842445549, 0.8687001936338749, 0.999103435036212, 0.26279051134853404, 0.10210331969592724, 0.42347770300114085, 0.21090193904404644, 0.08139997901920007, 0.11420295563887772, 0.3438237919766212, 0.2721432134373256, 0.18831338429814942, 0.16375986417694388, 0.2475439807325896, 0.3915003264509263, 0.1302462175546856, 0.06626561945764706, 0.6447272163318689, 0.08103780168311846, 0.1668425328770086, 0.07388740741696094, 0.03336850657540172, 0.876519922794889, 0.12264064763385278, 0.15270951338645683, 0.26030030690873324, 0.49109991236781003, 0.09544344586653553, 0.9973243988342066, 0.9951388793770969, 0.996373066528629, 0.9934766154236323, 0.9899717280312874, 0.9967653035737972, 0.5786680197230957, 0.4211509369904478, 0.13598760912959645, 0.15984508441549058, 0.32843790976914233, 0.21471727757304704, 0.16143558276788353, 0.321798701492255, 0.28060846770124637, 0.26087148067638805, 0.1364426494327161, 0.9916162255802908, 0.08199714708440384, 0.1510735315979319, 0.09690571928156817, 0.18834496209084275, 0.48254078678155227, 0.21325361439874152, 0.7853974579075602, 0.26657806783062843, 0.6063712387978379, 0.1257797925679726, 0.9986241752359671, 0.9980829963780435, 0.9683678925364232, 0.027277968803842905, 0.9963725776602487, 0.9930687400303858, 0.1705956704776939, 0.8258996745348672, 0.9937735385911998, 0.9954701913976347, 0.03564059878028109, 0.7484525743859028, 0.21554076405217612, 0.04173544219056735, 0.20690123468940835, 0.39959465927138954, 0.12254236217655946, 0.22910093798226333, 0.6153576451387622, 0.13426672650538451, 0.14636964269741917, 0.022692967860064986, 0.08131646816523287, 0.07707637859968551, 0.11630687070132184, 0.22707531898829503, 0.20953698134285761, 0.36968969615777303, 0.21746319727100505, 0.11216522806609734, 0.19228324811330974, 0.2701121818734589, 0.2083068521227522, 0.9929081746242847], \"Term\": [\"academy\", \"accused\", \"actor\", \"actress\", \"agreement\", \"aid\", \"aid\", \"airlines\", \"album\", \"also\", \"also\", \"also\", \"also\", \"also\", \"analysts\", \"analysts\", \"andy\", \"apple\", \"argonaut\", \"argued\", \"arsenal\", \"asylum\", \"attacks\", \"attacks\", \"attacks\", \"award\", \"awards\", \"baby\", \"back\", \"back\", \"back\", \"back\", \"back\", \"ball\", \"band\", \"bank\", \"bankruptcy\", \"banks\", \"bbc\", \"bbc\", \"bbc\", \"bbc\", \"best\", \"best\", \"best\", \"blair\", \"bn\", \"britain\", \"britain\", \"britain\", \"british\", \"british\", \"british\", \"british\", \"broadband\", \"brown\", \"brown\", \"business\", \"business\", \"business\", \"cabinet\", \"captain\", \"car\", \"car\", \"car\", \"case\", \"case\", \"category\", \"ceremony\", \"champion\", \"champions\", \"chancellor\", \"chart\", \"chelsea\", \"chief\", \"chief\", \"chief\", \"china\", \"club\", \"club\", \"coach\", \"comedy\", \"company\", \"company\", \"company\", \"computer\", \"computers\", \"concert\", \"conservative\", \"conservatives\", \"content\", \"cook\", \"could\", \"could\", \"could\", \"could\", \"council\", \"court\", \"court\", \"crowd\", \"cup\", \"dallaglio\", \"dance\", \"data\", \"data\", \"davies\", \"deal\", \"deal\", \"deal\", \"deal\", \"deal\", \"debt\", \"december\", \"december\", \"december\", \"december\", \"deficit\", \"deficit\", \"dems\", \"deutsche\", \"digital\", \"director\", \"director\", \"director\", \"director\", \"director\", \"dollar\", \"dollar\", \"dvd\", \"earnings\", \"economic\", \"economic\", \"economist\", \"economy\", \"economy\", \"election\", \"england\", \"england\", \"eu\", \"euros\", \"exchange\", \"expected\", \"expected\", \"expected\", \"expected\", \"expected\", \"exports\", \"festival\", \"figures\", \"figures\", \"figures\", \"figures\", \"film\", \"film\", \"final\", \"final\", \"final\", \"final\", \"financial\", \"financial\", \"financial\", \"firm\", \"firm\", \"first\", \"first\", \"first\", \"first\", \"first\", \"football\", \"france\", \"france\", \"france\", \"fuel\", \"game\", \"game\", \"games\", \"games\", \"gaming\", \"general\", \"general\", \"general\", \"get\", \"get\", \"get\", \"get\", \"goal\", \"goal\", \"good\", \"good\", \"good\", \"good\", \"good\", \"google\", \"got\", \"got\", \"got\", \"got\", \"government\", \"government\", \"grand\", \"growth\", \"growth\", \"half\", \"half\", \"half\", \"half\", \"health\", \"hewitt\", \"high\", \"high\", \"high\", \"high\", \"high\", \"home\", \"home\", \"home\", \"home\", \"howard\", \"howard\", \"however\", \"however\", \"however\", \"however\", \"however\", \"immigration\", \"india\", \"indian\", \"indoor\", \"information\", \"information\", \"injury\", \"internet\", \"internet\", \"investment\", \"investors\", \"iraq\", \"iraq\", \"ireland\", \"ireland\", \"irish\", \"issue\", \"kennedy\", \"kilroy\", \"labour\", \"labour\", \"last\", \"last\", \"last\", \"last\", \"last\", \"law\", \"laws\", \"leader\", \"leader\", \"league\", \"lib\", \"liberal\", \"like\", \"like\", \"like\", \"like\", \"liverpool\", \"london\", \"london\", \"london\", \"london\", \"london\", \"madrid\", \"mail\", \"make\", \"make\", \"make\", \"make\", \"make\", \"manager\", \"manager\", \"many\", \"many\", \"many\", \"many\", \"many\", \"market\", \"market\", \"match\", \"microsoft\", \"minister\", \"ministers\", \"minutes\", \"minutes\", \"minutes\", \"mobile\", \"mps\", \"mr\", \"mr\", \"mr\", \"mr\", \"music\", \"music\", \"nadal\", \"net\", \"net\", \"net\", \"network\", \"networks\", \"new\", \"new\", \"new\", \"new\", \"new\", \"night\", \"night\", \"nominations\", \"number\", \"number\", \"number\", \"number\", \"number\", \"oil\", \"old\", \"old\", \"old\", \"olympic\", \"one\", \"one\", \"one\", \"one\", \"one\", \"online\", \"oscar\", \"parliament\", \"party\", \"pc\", \"people\", \"people\", \"people\", \"people\", \"phone\", \"phones\", \"plans\", \"plans\", \"plans\", \"plans\", \"play\", \"play\", \"play\", \"players\", \"players\", \"police\", \"police\", \"policy\", \"political\", \"politics\", \"price\", \"price\", \"prices\", \"prices\", \"prime\", \"prime\", \"prize\", \"prize\", \"profits\", \"proposals\", \"public\", \"public\", \"public\", \"rates\", \"ray\", \"retail\", \"retail\", \"rise\", \"rise\", \"rise\", \"robinson\", \"rock\", \"roddick\", \"rose\", \"rugby\", \"rules\", \"sales\", \"sales\", \"say\", \"say\", \"say\", \"say\", \"say\", \"says\", \"says\", \"says\", \"says\", \"search\", \"season\", \"second\", \"second\", \"second\", \"second\", \"secretary\", \"service\", \"service\", \"service\", \"set\", \"set\", \"set\", \"set\", \"set\", \"shareholders\", \"shares\", \"show\", \"show\", \"show\", \"side\", \"side\", \"side\", \"silk\", \"singer\", \"site\", \"sites\", \"six\", \"six\", \"six\", \"six\", \"six\", \"software\", \"song\", \"song\", \"spain\", \"spending\", \"spending\", \"spokesman\", \"spokesman\", \"spokesman\", \"spokesman\", \"sport\", \"sport\", \"spyware\", \"squad\", \"star\", \"star\", \"starring\", \"stars\", \"stars\", \"stock\", \"systems\", \"tax\", \"tax\", \"taxes\", \"team\", \"team\", \"team\", \"technology\", \"think\", \"think\", \"think\", \"think\", \"three\", \"three\", \"three\", \"three\", \"three\", \"time\", \"time\", \"time\", \"time\", \"time\", \"told\", \"told\", \"told\", \"told\", \"told\", \"tony\", \"tony\", \"top\", \"top\", \"top\", \"top\", \"tories\", \"tory\", \"trading\", \"traffic\", \"trillion\", \"turkey\", \"tv\", \"tv\", \"two\", \"two\", \"two\", \"two\", \"two\", \"uk\", \"uk\", \"uk\", \"uk\", \"ukip\", \"us\", \"us\", \"us\", \"us\", \"us\", \"use\", \"use\", \"used\", \"used\", \"used\", \"users\", \"victory\", \"video\", \"video\", \"virus\", \"voters\", \"wales\", \"wales\", \"web\", \"websites\", \"win\", \"win\", \"win\", \"world\", \"world\", \"world\", \"world\", \"world\", \"would\", \"would\", \"would\", \"would\", \"would\", \"year\", \"year\", \"year\", \"year\", \"year\", \"years\", \"years\", \"years\", \"years\", \"years\", \"yukos\"]}, \"R\": 30, \"lambda.step\": 0.01, \"plot.opts\": {\"xlab\": \"PC1\", \"ylab\": \"PC2\"}, \"topic.order\": [5, 1, 2, 4, 3]};\n",
       "\n",
       "function LDAvis_load_lib(url, callback){\n",
       "  var s = document.createElement('script');\n",
       "  s.src = url;\n",
       "  s.async = true;\n",
       "  s.onreadystatechange = s.onload = callback;\n",
       "  s.onerror = function(){console.warn(\"failed to load library \" + url);};\n",
       "  document.getElementsByTagName(\"head\")[0].appendChild(s);\n",
       "}\n",
       "\n",
       "if(typeof(LDAvis) !== \"undefined\"){\n",
       "   // already loaded: just create the visualization\n",
       "   !function(LDAvis){\n",
       "       new LDAvis(\"#\" + \"ldavis_el57161405256205424002414184787\", ldavis_el57161405256205424002414184787_data);\n",
       "   }(LDAvis);\n",
       "}else if(typeof define === \"function\" && define.amd){\n",
       "   // require.js is available: use it to load d3/LDAvis\n",
       "   require.config({paths: {d3: \"https://d3js.org/d3.v5\"}});\n",
       "   require([\"d3\"], function(d3){\n",
       "      window.d3 = d3;\n",
       "      LDAvis_load_lib(\"https://cdn.jsdelivr.net/gh/bmabey/pyLDAvis@3.4.0/pyLDAvis/js/ldavis.v3.0.0.js\", function(){\n",
       "        new LDAvis(\"#\" + \"ldavis_el57161405256205424002414184787\", ldavis_el57161405256205424002414184787_data);\n",
       "      });\n",
       "    });\n",
       "}else{\n",
       "    // require.js not available: dynamically load d3 & LDAvis\n",
       "    LDAvis_load_lib(\"https://d3js.org/d3.v5.js\", function(){\n",
       "         LDAvis_load_lib(\"https://cdn.jsdelivr.net/gh/bmabey/pyLDAvis@3.4.0/pyLDAvis/js/ldavis.v3.0.0.js\", function(){\n",
       "                 new LDAvis(\"#\" + \"ldavis_el57161405256205424002414184787\", ldavis_el57161405256205424002414184787_data);\n",
       "            })\n",
       "         });\n",
       "}\n",
       "</script>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pyLDAvis.enable_notebook()\n",
    "pyLDAvis.display(lda_prepared)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "add2e714-61a2-4505-bf46-40f3e28293ae",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
